net.eastol.news.common
Class CommonCommand

java.lang.Object
  extended bynet.eastol.news.common.CommonCommand
All Implemented Interfaces:
com.justhis.control.Command
Direct Known Subclasses:
ClassCMD, GoCMD, NewsCMD

public abstract class CommonCommand
extends java.lang.Object
implements com.justhis.control.Command

TODO DOCUMENT ME!

Version:
$Revision $
Author:
acai

Field Summary
protected  java.lang.String action
          ????????action
protected  javax.servlet.ServletConfig config
          ServletConfig .??????????????????
protected  com.justhis.jdo.JDOContext ctx
          JDO??????????????????????????????????
protected  com.justhis.control.CommandDispatcher dispatcher
          Controller??????dispatcher.
protected  java.util.Locale encoding
          ????????
protected  org.w3c.dom.Document msgDoc
          app??????????Document.
protected  java.lang.String nextPage
          Controller??????????????????
protected  java.io.OutputStream out
          ??????
protected  javax.jdo.PersistenceManager pm
          PersistenceManager ????????????Object
protected  javax.servlet.http.HttpServletRequest request
          request
protected  javax.servlet.http.HttpServletResponse response
          response
protected  javax.servlet.http.HttpSession session
          session
protected  java.lang.String systemOID
          TODO
protected  java.lang.String warPath
          ????????????????????????
protected  com.justhis.util.XParameters xmlParams
          ??????xslt??????parameters
 com.justhis.util.XParameters xp
          ??????????????????????????????????????????
 
Constructor Summary
CommonCommand()
           
 
Method Summary
protected  void appendMSGDoc(org.w3c.dom.Document doc)
           
protected  long getDBSequence()
          TODO
protected  java.io.OutputStream getOuputStream()
          TODO
protected  javax.jdo.PersistenceManager getPM()
          TODO
 SystemConfig getSystemConfig()
          TODO
protected  javax.jdo.Transaction getTransaction()
           
protected  java.lang.String getXsltFileFromUrl()
          TODO
protected  void go()
          TODO
protected  void go(java.lang.Object obj)
          TODO
protected  void go(java.lang.Object obj, java.lang.String xslt)
          TODO
 void init(com.justhis.control.CommandDispatcher dispatcher)
           
protected  void printClassList()
          TODO
protected  void printClassList(NewsSys ns)
          TODO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.justhis.control.Command
execute, getName
 

Field Detail

xp

public com.justhis.util.XParameters xp
??????????????????????????????????????????


dispatcher

protected com.justhis.control.CommandDispatcher dispatcher
Controller??????dispatcher.


msgDoc

protected org.w3c.dom.Document msgDoc
app??????????Document.


request

protected javax.servlet.http.HttpServletRequest request
request


response

protected javax.servlet.http.HttpServletResponse response
response


session

protected javax.servlet.http.HttpSession session
session


ctx

protected com.justhis.jdo.JDOContext ctx
JDO??????????????????????????????????


encoding

protected java.util.Locale encoding
????????


out

protected java.io.OutputStream out
??????


pm

protected javax.jdo.PersistenceManager pm
PersistenceManager ????????????Object


config

protected javax.servlet.ServletConfig config
ServletConfig .??????????????????


action

protected java.lang.String action
????????action


nextPage

protected java.lang.String nextPage
Controller??????????????????


systemOID

protected java.lang.String systemOID
TODO


warPath

protected java.lang.String warPath
????????????????????????


xmlParams

protected com.justhis.util.XParameters xmlParams
??????xslt??????parameters

Constructor Detail

CommonCommand

public CommonCommand()
Method Detail

getSystemConfig

public SystemConfig getSystemConfig()
                             throws com.justhis.util.exception.UtilException
TODO

Returns:
TODO
Throws:
com.justhis.util.exception.UtilException - TODO

init

public void init(com.justhis.control.CommandDispatcher dispatcher)
          throws javax.servlet.ServletException
Specified by:
init in interface com.justhis.control.Command
Throws:
javax.servlet.ServletException
See Also:
Command.init(com.justhis.control.CommandDispatcher)

getDBSequence

protected long getDBSequence()
TODO

Returns:
TODO

getOuputStream

protected java.io.OutputStream getOuputStream()
                                       throws javax.servlet.ServletException
TODO

Returns:
TODO
Throws:
javax.servlet.ServletException - TODO

getPM

protected javax.jdo.PersistenceManager getPM()
                                      throws java.sql.SQLException,
                                             com.justhis.util.exception.LogicException
TODO

Returns:
TODO
Throws:
java.sql.SQLException - TODO
com.justhis.util.exception.LogicException - TODO

getTransaction

protected javax.jdo.Transaction getTransaction()
                                        throws java.sql.SQLException,
                                               com.justhis.util.exception.LogicException
Returns:
TODO
Throws:
java.sql.SQLException
com.justhis.util.exception.LogicException

getXsltFileFromUrl

protected java.lang.String getXsltFileFromUrl()
TODO

Returns:
TODO

appendMSGDoc

protected void appendMSGDoc(org.w3c.dom.Document doc)
Parameters:
doc -

go

protected void go(java.lang.Object obj,
                  java.lang.String xslt)
           throws javax.servlet.ServletException,
                  com.justhis.util.exception.UtilException
TODO

Parameters:
obj - TODO
xslt - TODO
Throws:
javax.servlet.ServletException - TODO
com.justhis.util.exception.UtilException - TODO

go

protected void go()
           throws javax.servlet.ServletException,
                  com.justhis.util.exception.UtilException
TODO

Throws:
javax.servlet.ServletException - TODO
com.justhis.util.exception.UtilException - TODO

go

protected void go(java.lang.Object obj)
           throws javax.servlet.ServletException,
                  com.justhis.util.exception.UtilException
TODO

Parameters:
obj - TODO
Throws:
javax.servlet.ServletException - TODO
com.justhis.util.exception.UtilException - TODO

printClassList

protected void printClassList(NewsSys ns)
                       throws com.justhis.util.exception.UtilException
TODO

Parameters:
ns - TODO
Throws:
com.justhis.util.exception.UtilException - TODO

printClassList

protected void printClassList()
                       throws com.justhis.util.exception.UtilException,
                              java.sql.SQLException,
                              com.justhis.util.exception.LogicException
TODO

Throws:
com.justhis.util.exception.UtilException - TODO
java.sql.SQLException - TODO
com.justhis.util.exception.LogicException - TODO


Copyright © 2003 EastNetworks.Net(China)Co.,Ltd.. All Rights Reserved.